package com.syw.entity;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * SywProject entity. @author MyEclipse Persistence Tools
 */

public class SywProject implements java.io.Serializable {

	// Fields

	private int id;
	private SywProjectsort sywProjectsort;
	private String name;
	private Double price;
	private Set sywProjectrecords = new HashSet(0);

	// Constructors

	/** default constructor */
	public SywProject() {
	}

	/** minimal constructor */
	public SywProject(SywProjectsort sywProjectsort, String name, Double price) {
		this.sywProjectsort = sywProjectsort;
		this.name = name;
		this.price = price;
	}

	/** full constructor */
	public SywProject(SywProjectsort sywProjectsort, String name, Double price,
			Set sywProjectrecords) {
		this.sywProjectsort = sywProjectsort;
		this.name = name;
		this.price = price;
		this.sywProjectrecords = sywProjectrecords;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public SywProjectsort getSywProjectsort() {
		return this.sywProjectsort;
	}

	public void setSywProjectsort(SywProjectsort sywProjectsort) {
		this.sywProjectsort = sywProjectsort;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Set getSywProjectrecords() {
		return this.sywProjectrecords;
	}

	public void setSywProjectrecords(Set sywProjectrecords) {
		this.sywProjectrecords = sywProjectrecords;
	}

}